home *** CD-ROM | disk | FTP | other *** search
- echo $1 $2 $3 $4 $5 $6 $7
- if test $2 == Push
- echo I pushed the King baby!!!
- if test $CastleD::King::Moved == 0
- echo and he wasn't moved
- #set CastleD::King::Moved 1
- loadKQ keys.kq
- setThirdPerson
- handsOff 1
- KQObject::collisionType $1 -256
- move Connor 0 15390 90000 -1 0 0 0
- sendEvent 0 $1 KQAnimPlayEvent push
- KQMonster::setState Connor Special 'AnimList=kingart.anm,AnimListOn,c_pshpic'
- getEndLoop Connor $1 1
- KQMonster::speak Connor Connor 1000 32 13 51 1 0
- endif
-
- else if test $2 == ConnorAction
- if test $4 == do
- if test $CastleD::King::Moved == 0
- KQMonster::speak Connor Connor 1000 32 14 102 1 0
- else
- KQMonster::speak Connor Connor 1000 32 14 51 1 0
- endif
- endif
-
- else if test $2 == Cue
- if test $3 == 300
- if test $5 == c_pshpic
- handsOff 0
- setThirdPerson
- set CastleD::King::Moved 1
- sendEvent 0 $1 KQAnimPlayEvent stop2
- sendEvent 0 Connor KQAnimPlayEvent stop
- # KQObject::collisionType $1 -33
- getEndLoop Connor $1 0
- endif
- endif
- endif
- endif
- endif
-